//
//  YYJ_RefreshBackNormalFooter.m
//  ANDA_Club
//
//  Created by Lonely丶晏袁杰 on 2019/7/21.
//  Copyright © 2019 Lonely`yyj. All rights reserved.
//

#import "YYJ_RefreshBackNormalFooter.h"

@implementation YYJ_RefreshBackNormalFooter

+(instancetype)YYJ_FooterWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock{

    return [YYJ_RefreshBackNormalFooter footerWithRefreshingBlock:refreshingBlock];
}
#pragma mark - 实现父类的方法
- (void)prepare {
    [super prepare];
//    if (language_is_mon) {
//        [self setTitle:@"ᠤᠳᠤᠬᠠᠨ ᠰᠢᠨᠡᠳᠴᠢᠯᠡᠵᠣ ᠪᠠᠢᠨ᠎ᠠ" forState:MJRefreshStateIdle];
//        // 往下拉的时候文字
//        [self setTitle:@"ᠤᠳᠤᠬᠠᠨ ᠰᠢᠨᠡᠳᠴᠢᠯᠡᠵᠣ ᠪᠠᠢᠨ᠎ᠠ" forState:MJRefreshStateRefreshing];
//        // 松手时候的文字
//        [self setTitle:@"ᠤᠳᠤᠬᠠᠨ ᠰᠢᠨᠡᠳᠴᠢᠯᠡᠵᠣ ᠪᠠᠢᠨ᠎ᠠ" forState:MJRefreshStatePulling];
//        [self setTitle:@"ᠬᠠᠮᠣᠭ  ᠰᠡᠭᠦᠯᠴᠢ  ᠢᠨ  ᠨᠢᠭᠣᠷ" forState:MJRefreshStateNoMoreData];
//    }else{
//        [self setTitle:@"上拉可以加载更多" forState:MJRefreshStateIdle];
//        // 往下拉的时候文字
//        [self setTitle:@"正在加载更多的数据..." forState:MJRefreshStateRefreshing];
//        // 松手时候的文字
//        [self setTitle:@"松开立即加载更多" forState:MJRefreshStatePulling];
//        [self setTitle:@"已经全部加载完毕" forState:MJRefreshStateNoMoreData];
//    }
    
    [self setTitle:Anda_locForKey(@"ANDA.上拉可以加载更多") forState:MJRefreshStateIdle];
    [self setTitle:Anda_locForKey(@"ANDA.正在加载更多的数据...") forState:MJRefreshStateRefreshing];
    [self setTitle:Anda_locForKey(@"ANDA.松开立即加载更多") forState:MJRefreshStatePulling];
    [self setTitle:Anda_locForKey(@"ANDA.已经全部加载完毕") forState:MJRefreshStateNoMoreData];
    self.stateLabel.font = [UIFont fontWithName:@"MongolianWhite" size:14];
    // 隐藏时间
//    self.lastUpdatedTimeLabel.hidden = YES;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
